-
Notifications
You must be signed in to change notification settings - Fork 14.9k
[AMDGPU] Added llvm-debuginfo-check #149429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
✅ With the latest revision this PR passed the C/C++ code formatter. |
46e487c
to
6e7feac
Compare
6e7feac
to
33a5977
Compare
@adam-yang Sorry for my delay but currently I am on PTO. A couple of points:
Can those fixes being on a different PR?
Instead of adding a new tool, can the new functionality be added to the |
Thank you for looking at this change while on PTO! Yes. There is another PR related to this change. Once it lands I'll split this PR up, and add the "check" functionality as a part of |
Is that PR being reviewed?
That will be great. |
This change adds a new tool llvm-debug-info-check, which prints out debug info in an easily testable format. The primary motivation for this change is to test debug info for AMDGPU target, so the PR also includes changes that enable generating debug info for AMDGPU.
llvm-debug-info-check itself is simple, and uses the LogicalView module to read debug info. This PR also fixes two bugs in LogicalView:
The test changes for llvm-debug-analyzer are all to address the DW_AT_high_pc change.